package com.hrt.datasender.web.processstrategy;

import java.util.List;

import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;

import com.btcode.web.core.annotation.RequestMapping;
import com.btcode.web.core.controller.Controller;
import com.hrt.datasender.process.strategy.model.ProcessStrategyModel;

@RequestMapping(path = "ProcessStrategy")
public class ProcessStrategyController extends Controller {

    @RequestMapping(path = "getList")
    public void getList(ServletRequest resq, ServletResponse res) throws Exception {
        List<ProcessStrategyModel> models = ProcessStrategyService.getInstance().getList();
        success(models);
    }

}
